package com.koo.modules.sys.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.koo.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 系统资料- 门店信息表
 *
 * @author charlin
 * @email 136137465@qq.com
 * @date 2023-01-05 15:52:13
 */
@Data
@ApiModel("系统资料- 门店信息表")
@TableName("sys_store")
public class SysStoreEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    @ApiModelProperty(value = "门店id")
    @TableId
    private Long storeId;

    @ExcelIgnore
    @ApiModelProperty(value = "门店名称")
    @TableField(fill = FieldFill.INSERT)
    private String storeName;

    @ExcelIgnore
    @ApiModelProperty(value = "门店编码")
    @TableField(fill = FieldFill.INSERT)
    private String storeCode;

    @ColumnWidth(11)
    @ExcelProperty("企业Id")
    @ApiModelProperty(value = "企业Id")
    private Long companyId;

    @ColumnWidth(11)
    @ExcelProperty("门店类别")
    @ApiModelProperty(value = "门店类别")
    private Integer storeType;


    @ColumnWidth(11)
    @ExcelProperty("门店全称")
    @ApiModelProperty(value = "门店全称")
    private String storeFullName;

    @ColumnWidth(11)
    @ExcelProperty("手机")
    @ApiModelProperty(value = "手机")
    private String mobile;

    @ColumnWidth(11)
    @ExcelProperty("联系人")
    @ApiModelProperty(value = "联系人")
    private String contactor;

    @ColumnWidth(11)
    @ExcelProperty("电话")
    @ApiModelProperty(value = "电话")
    private String tel;

    @ColumnWidth(11)
    @ExcelProperty("营业地址")
    @ApiModelProperty(value = "营业地址")
    private String storeAddress;

    @ColumnWidth(11)
    @ExcelProperty("超管密码")
    @ApiModelProperty(value = "超管密码")
    private String storeKey;

    @ColumnWidth(11)
    @ExcelProperty("省名称")
    @ApiModelProperty(value = "省名称")
    private String provinceName;

    @ColumnWidth(11)
    @ExcelProperty("市名称")
    @ApiModelProperty(value = "市名称")
    private String cityName;

    @ColumnWidth(11)
    @ExcelProperty("区名称")
    @ApiModelProperty(value = "区名称")
    private String zoneName;

    @ColumnWidth(11)
    @ExcelProperty("mycat下标")
    @ApiModelProperty(value = "mycat下标")
    private Integer mycatIndex;

    @ColumnWidth(11)
    @ExcelProperty("1.银达通2.威富通3.云卓通")
    @ApiModelProperty(value = "1.银达通2.威富通3.云卓通")
    private String basePayment;

    @ColumnWidth(11)
    @ExcelProperty("是否直营")
    @ApiModelProperty(value = "是否直营")
    private Integer isDirect;

    @ColumnWidth(11)
    @ExcelProperty("门店同步时间")
    @ApiModelProperty(value = "门店同步时间")
    private Date transportTime;


}
